﻿﻿using System;
using System.Collections.Generic;
using System.Text;
namespace WebApplication1.DDD.Models.Entity.ConnectionString_SQLSERVER
{
    public class M_TiXianLog:NFinal.Struct
    {
		public System.Int32? ID {get;set;}
		public System.String OpenID {get;set;}
		public System.String HuMing {get;set;}
		public System.String KaiHuHang {get;set;}
		public System.String KaHao {get;set;}
		public System.Decimal? Jine {get;set;}
		public System.DateTime? AddTime {get;set;}
		public System.String ZhuangTai {get;set;}
		public System.Int32? LeiXing {get;set;}
		public System.String FaPiao {get;set;}
		public System.String ImgUrls {get;set;}
		#region 写Json字符串
		public override void WriteJson(System.IO.TextWriter tw)
		{
			tw.Write("{");
					tw.Write("\"ID\":");
					tw.Write(ID==null?"null" : ID.ToString());
					tw.Write(",");
					tw.Write("\"OpenID\":");
					tw.Write("\"");
					tw.Write(OpenID==null?"null":OpenID);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"HuMing\":");
					tw.Write("\"");
					tw.Write(HuMing==null?"null":HuMing);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"KaiHuHang\":");
					tw.Write("\"");
					tw.Write(KaiHuHang==null?"null":KaiHuHang);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"KaHao\":");
					tw.Write("\"");
					tw.Write(KaHao==null?"null":KaHao);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"Jine\":");
					tw.Write(Jine==null?"null" : Jine.ToString());
					tw.Write(",");
					tw.Write("\"AddTime\":");
					tw.Write("\"");
					tw.Write(AddTime==null?"null":AddTime.ToString());
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"ZhuangTai\":");
					tw.Write("\"");
					tw.Write(ZhuangTai==null?"null":ZhuangTai);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"LeiXing\":");
					tw.Write(LeiXing==null?"null" : LeiXing.ToString());
					tw.Write(",");
					tw.Write("\"FaPiao\":");
					tw.Write("\"");
					tw.Write(FaPiao==null?"null":FaPiao);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"ImgUrls\":");
					tw.Write("\"");
					tw.Write(ImgUrls==null?"null":ImgUrls);
					tw.Write("\"");
			tw.Write("}");
		}
		#endregion
    }
}
